package cn.agiledata.bank.transaction.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

/**
 * 提现到他人银行账户Form
 * 
 * @author maxianbo
 * 
 */
public class DrawToOtherForm extends DrawForm {
    private long creditBankId;

    private String creditBankName;

    private String creditAccountNo;

    private String creditProvinceId;

    private String creditCityId;

    private String creditName;

    private String creditEmail;

    private String creditMobile;

    private String creditFixedTel;

    public DrawToOtherForm() {
        this.creditBankId = 0;
        this.creditBankName = "";
        this.creditAccountNo = "";
        this.creditProvinceId = "";
        this.creditCityId = "";
        this.creditName = "";
        this.creditEmail = "";
        this.creditMobile = "";
        this.creditFixedTel = "";
    }

    public String getCreditAccountNo() {
        return this.creditAccountNo;
    }

    public void setCreditAccountNo(String creditAccountNo) {
        this.creditAccountNo = creditAccountNo;
    }

    public long getCreditBankId() {
        return this.creditBankId;
    }

    public void setCreditBankId(long creditBankId) {
        this.creditBankId = creditBankId;
    }

    public String getCreditBankName() {
        return this.creditBankName;
    }

    public void setCreditBankName(String creditBankName) {
        this.creditBankName = creditBankName;
    }

    public String getCreditCityId() {
        return this.creditCityId;
    }

    public void setCreditCityId(String creditCityId) {
        this.creditCityId = creditCityId;
    }

    public String getCreditEmail() {
        return this.creditEmail;
    }

    public void setCreditEmail(String creditEmail) {
        this.creditEmail = creditEmail;
    }

    public String getCreditFixedTel() {
        return this.creditFixedTel;
    }

    public void setCreditFixedTel(String creditFixedTel) {
        this.creditFixedTel = creditFixedTel;
    }

    public String getCreditName() {
        return this.creditName;
    }

    public void setCreditName(String creditName) {
        this.creditName = creditName;
    }

    public String getCreditMobile() {
        return this.creditMobile;
    }

    public void setCreditMobile(String creditMobile) {
        this.creditMobile = creditMobile;
    }

    public String getCreditProvinceId() {
        return this.creditProvinceId;
    }

    public void setCreditProvinceId(String creditProvinceId) {
        this.creditProvinceId = creditProvinceId;
    }

    public void reset(ActionMapping mapping, HttpServletRequest request) {
        super.reset(mapping, request);
        if (isResetable()) {
            this.creditBankId = 0;
            this.creditBankName = "";
            this.creditAccountNo = "";
            this.creditProvinceId = "";
            this.creditCityId = "";
            this.creditName = "";
            this.creditEmail = "";
            this.creditMobile = "";
            this.creditFixedTel = "";
        }
    }
}
